package com.ruoyi.lyy.controller;

import com.ruoyi.common.core.web.domain.AjaxResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author YueYang
 * Created on 2025/11/12 16:52
 * @version 1.0
 */
@Tag(name = "测试接口", description = "测试接口")
@RestController
@RequestMapping("/test")
public class TestController {


    @Operation(summary = "测试hello方法", description = "返回测试的Hello消息")
    @GetMapping("/hello")
    public AjaxResult hello() {
        return AjaxResult.success("hello YueYang");
    }
}
